package com.one.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author fr
 * @since 2021-10-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_major")
@ApiModel(value="SysMajorEntity对象", description="系部表")
public class SysMajorEntity implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "序号")
    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    @ApiModelProperty(value = "系部编号")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "系部名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "创建者")
    @TableField("createBy")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @TableField("createTime")
    private String createTime;

    @ApiModelProperty(value = "更新者")
    @TableField("updateBy")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    @TableField("updateTime")
    private String updateTime;

    @ApiModelProperty(value = "是否删除,0:否 1:是")
    @TableField("isDeleted")
    private String isDeleted;

    @ApiModelProperty(value = "教师编号")
    @TableField("ceachCode")
    private String ceachCode;

    @ApiModelProperty(value = "教师名称")
    @TableField("ceachName")
    private String ceachName;

    @ApiModelProperty(value = "学院ID")
    @TableField("collegeCode")
    private String collegeCode;

    @ApiModelProperty(value = "学院名称")
    @TableField("collegeName")
    private String collegeName;


}
